package com.platform.common.core.domain.model;

import com.platform.common.core.enums.DataDimensionEnum;
import com.platform.common.core.validator.IsEnum;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import java.util.List;

/**
 * @Description: 数据维度对象
 * @Author: wcs
 * @Date: 2024-06-03 14:20
 **/
@Data
public class DataDimensionDTO {

    /**
     * 数据维度
     *
     * @see DataDimensionEnum
     */
    @NotEmpty(message = "数据维度不能为空")
    @IsEnum(enumClass = DataDimensionEnum.class, message = "数据维度不在枚举中：【CHECKLIST/SETTLEMENT/MAWB】")
    private String dataDimension;

    /**
     * 数据id列表
     */
    private List<Long> dataIds;
}
